package com.peas.platform.module.icims.base.sys.api.resp;

import com.peas.platform.module.icims.base.sys.controller.vo.AttachmentVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
public class InvoiceResp extends AttachmentVo {

    // 发票信息
    @ApiModelProperty(value = "全文本")
    private String allText;
    @ApiModelProperty(value = "发票标题")
    private String title;
    @ApiModelProperty(value = "发票代码")
    private String invoiceCode;
    @ApiModelProperty(value = "发票号码")
    private String invoiceNumber;
    @ApiModelProperty(value = "开票日期")
    private String invoiceDate;
    @ApiModelProperty(value = "校验码")
    private String invoiceValid;
    @ApiModelProperty(value = "机器编号")
    private String invoiceMachine;

    @ApiModelProperty(value = "金额")
    private BigDecimal invoiceAmount;
    @ApiModelProperty(value = "税额")
    private BigDecimal invoiceRate;
    @ApiModelProperty(value = "价税合计")
    private BigDecimal invoiceTotal;
    @ApiModelProperty(value = "价税合计(大写)")
    private String invoiceTotalText;

    @ApiModelProperty(value = "购买方名称")
    private String invoiceBuyerName;
    @ApiModelProperty(value = "购买方纳税人识别号")
    private String invoiceBuyer;
    @ApiModelProperty(value = "购买方地址电话")
    private String invoiceBuyerInfo;
    @ApiModelProperty(value = "购买方开户行及账号")
    private String invoiceBuyerBank;
    @ApiModelProperty(value = "密码区")
    private String invoicePassword;

    @ApiModelProperty(value = "销售方名称")
    private String invoiceSellerName;
    @ApiModelProperty(value = "销售方纳税人识别号")
    private String invoiceSeller;
    @ApiModelProperty(value = "销售方地址电话")
    private String invoiceSellerInfo;
    @ApiModelProperty(value = "销售方开户行及账号")
    private String invoiceSellerBank;

    @ApiModelProperty(value = "收款人")
    private String invoicePayee;
    @ApiModelProperty(value = "复核")
    private String invoiceApprover;
    @ApiModelProperty(value = "开票人")
    private String invoicePrinter;

}
